package com.py.credit.service;

import com.py.credit.common.Page;
import com.py.credit.entity.ChartNum;
import com.py.credit.entity.FeedbackInfo;
import com.py.credit.entity.GzInfo;
import com.py.credit.entity.MessInfo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface LhjcHomePageService {

    List<MessInfo> getAjbhtListForPage(String jclb, long deptId, String startTime, String endTime, Page page);

    List<MessInfo> getOtherAjbhtListForPage(String jclb, long deptId, String startTime, String endTime, Page page);

    List<FeedbackInfo> getFeedbackListForPage(long deptId, String startTime, String endTime, Page page);

    List<FeedbackInfo> getOtherDeptFeedbackListForPage(long deptId, String startTime, String endTime, Page page);

    List<GzInfo> selectGzInfoListForPage(String jclb, long deptId, String startTime, String endTime, Page page);

    List<GzInfo> selectOtherGzInfoListForPage(String jclb, long deptId, String startTime, String endTime, Page page);

    List<ChartNum> selectFqNum(long deptId, String startTime, String endTime);

    List<ChartNum> selectCyNum(long deptId, String startTime, String endTime);

    List<ChartNum> selectXyNum(long deptId, String startTime, String endTime);

    Map<String, String> selectMaxTime();

    Map<String, String> selectMinTime();

    void excelExport(HttpServletResponse response, long deptId, String startTime, String endTime) throws IOException;

    int getAjbhtListForTotalCount(String jclb, long cfbm, String startTime, String endTime);

    int getOtherAjbhtListForTotalCount(String jclb, long cfbm, String startTime, String endTime);

    int getFeedbackListForTotalCount(long deptId, String startTime, String endTime);

    int getOtherDeptFeedbackListForTotalCount(long deptId, String startTime, String endTime);

    int selectGzInfoListForTotalCount(String jclb, long deptId, String startTime, String endTime);

    int selectOtherGzInfoListForTotalCount(String jclb, long deptId, String startTime, String endTime);
}
